package com.weiweiqin.vo.user.req;

import java.io.Serializable;

/**
 * 存储用户登录客户端传递的数据
 * 
 * @author weiweiqin
 * 
 */
public class LoginVO implements Serializable {

	private static final long serialVersionUID = 6910002412040423016L;
	/**
	 * 用户名称
	 */
	private String username;
	/**
	 * 用户密码
	 */
	private String password;
	/**
	 * 设备号
	 */
	private String devicekey;
	/**
	 * 设备类型
	 */
	private int devicetype;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDevicekey() {
		return devicekey;
	}

	public void setDevicekey(String devicekey) {
		this.devicekey = devicekey;
	}

	public int getDevicetype() {
		return devicetype;
	}

	public void setDevicetype(int devicetype) {
		this.devicetype = devicetype;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("username=");
		sb.append(username);
		sb.append(":password=");
		sb.append(password);
		sb.append(":devicekey=");
		sb.append(devicekey);
		sb.append(":devicetype=");
		sb.append(devicekey);
		return sb.toString();

	}

}
